package com.inspur.icity.bus.base.core.gaoderesult;

import com.google.gson.annotations.SerializedName;

/**
 * Created by jn-dinggao on 2017/12/22.
 * 逆地理编码列表
 */
public class RegeocodesResult {

    /**
     * 结构化地址信息
     */
    @SerializedName("formatted_address")
    private String formattedAddress;
    /**
     * 地址元素列表
     */
    private AddressComponentResult addressComponent;

    public String getFormattedAddress() {
        return formattedAddress;
    }

    public void setFormattedAddress(String formattedAddress) {
        this.formattedAddress = formattedAddress;
    }

    public AddressComponentResult getAddressComponent() {
        return addressComponent;
    }

    public void setAddressComponent(AddressComponentResult addressComponent) {
        this.addressComponent = addressComponent;
    }

    @Override
    public String toString() {
        return "RegeocodesResult{" +
                "formattedAddress='" + formattedAddress + '\'' +
                ", addressComponent=" + addressComponent +
                '}';
    }
}
